package com.gxwz.document.business.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.orm.hibernate4.HibernateTemplate;
import org.springframework.stereotype.Repository;

import com.gxwz.document.business.dao.IdocDao;
import com.gxwz.document.business.dao.IliteratureDao;
import com.gxwz.document.business.entity.Classification;
import com.gxwz.document.core.dao.impl.BaseDaoImpl;

import com.gxwz.document.business.entity.Document;
import com.gxwz.document.business.entity.Literature;
@Repository("docDao")
public class DocDaoImpl extends BaseDaoImpl<Document> implements IdocDao {
	@Override
	public List<Document> findMaxUserId() {
		String hql = "select max(docId) from Document";
		return this.find(hql);
	}

	@Override
	public void save(Document doc) {
		
	}

}
